package cn.edu.njnu.opengmpback.collaboration.enums;

public class TaskState {
    public static final String TODO = "todo";
    public static final String DOING = "doing";
    public static final String DONE = "done";

    // 验证状态是否有效
    public static boolean isValidState(String state) {
        return TODO.equals(state) || DOING.equals(state) || DONE.equals(state);
    }
}
